/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Family
 */
@ManagedBean (name="ibean")
@RequestScoped


public class GalleryBean {

    private List<String> images;
    private String name;

    @PostConstruct
    public void init() {
        images = new ArrayList<String>();

        for(int i=1;i<=6;i++) {
            images.add("gallery"+i+".jpg");
        }
    }

    public List<String> getImages() {
        return images;
    }
}